package com.company.beauty.common.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * <p>description</p>
 *
 * @author youyoukele
 * @version 1.0
 * @date 2023/8/4 14:35
 */
@Data
@Component
@ConfigurationProperties(prefix = "transcode.config")
@RefreshScope
public class TranscodeConfigProperties {

    /**
     * e.g cn-hangzhou
     */
    private String regionId;
    /**
     * Key
     */
    private String accessKeyId;
    /**
     * 秘钥
     */
    private String accessKeySecret;

    /**
     * oss out bucket
     */
    private String ossOutputBucket;
    /**
     * oss input bucket
     */
    private String ossInputBucket;
    /**
     * oss input location
     * e.g
     * oss-cn-hangzhou
     */
    private String ossInputLocation;
    /**
     * oss output location
     * e.g
     * oss-cn-hangzhou
     */
    private String ossOutputLocation;
    /**
     * 模版
     */
    private String templateId;
    /**
     * 通道
     */
    private String pipelineId;
}
